package top.greatxiaozou.dao;

import top.greatxiaozou.pojo.User;

import java.util.List;
import java.util.Map;

public interface UserMapper {
    //获取所有用户
    List<User> getUserList();

    //模糊查询
    List<User> getUserListLike(String value);

    //根据id获取用户
    User getUserById(int id);

    List<User> getUserListByLimit(Map<String,Object> map);


}
